package com.qf.service;

import com.qf.domain.Order;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/21 9:23
 * description:
 */
public interface OrderService {
    Order addOrder(String aid, int id);

    void paySuccess(Order order);

    List<Order> findAllOrder();

    void changestatus(String oid);

    Order searchOrder(String toString, List<Object> params, int id);


    List<Order> searchOrderByUid(int id);

    List<Order> searchOrderByStatus(String status);

    List<Order> searchOrderByUidAndStatus(int id, String status);
}
